package com.example.houduan.Service.Impl;

import com.example.houduan.Mapper.PermissionMapper;
import com.example.houduan.Pojo.Permission;
import com.example.houduan.Service.PermissionService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class PermissonService implements PermissionService {

    @Autowired
    PermissionMapper permissionMapper;

    @Override
    public List<Permission> getAllPermisson() {
        return permissionMapper.selectAllPermission();
    }
}
